WooCommerce\Facebook\Handlers\Connection D

Total Complexity 128
Dependencies 9
Dependents 1
Total lines 1,289
Lines of code 535
Logical lines of code 288
Comment lines 563
Methods 52
Properties 3

Methods 52

Method Rating Maintainability Complexity Lines of code
fbe_install_webhook()
B
34 21 89
handle_connect()
B
40 18 55
update_installation_data()
A
51 8 27
handle_fbe_redirect()
S
51 6 25
retrieve_page_access_token()
S
51 5 26
handle_disconnect()
S
51 5 25
get_external_business_id()
S
57 5 15
refresh_business_configuration()
S
60 3 14
get_connect_parameters_extras()
S
54 2 22
get_connect_parameters()
S
56 2 18
refresh_installation_data()
S
64 3 10
prepare_connect_server_message_for_user_display()
S
66 3 8
get_business_name()
S
65 3 8
get_commerce_connect_url()
S
57 1 18
has_previously_connected_fbe_1()
S
76 2 4
update_page_access_token()
S
78 2 3
update_external_business_id()
S
78 2 3
get_timezone_string()
S
66 2 8
extras_callback()
S
68 2 7
disconnect()
S
60 1 14
init_extras_endpoint()
S
62 1 13
get_redirect_url()
S
62 1 12
get_scopes()
S
64 1 11
is_connected()
S
80 1 3
update_merchant_access_token()
S
80 1 3
update_access_token()
S
80 1 3
has_previously_connected_fbe_2()
S
79 1 3
update_commerce_merchant_settings_id()
S
80 1 3
update_commerce_manager_id()
S
80 1 3
get_client_id()
S
79 1 3
get_plugin()
S
82 1 3
extras_permission_callback()
S
80 1 3
update_instagram_business_id()
S
80 1 3
__construct()
S
63 1 10
update_system_user_id()
S
80 1 3
get_business_manager_id()
S
74 1 4
get_access_token()
S
74 1 4
get_merchant_access_token()
S
74 1 4
get_page_access_token()
S
74 1 4
get_connect_url()
S
78 1 3
get_manage_url()
S
72 1 5
get_disconnect_url()
S
78 1 3
get_ad_account_id()
S
79 1 3
update_ad_account_id()
S
80 1 3
get_system_user_id()
S
79 1 3
get_commerce_manager_id()
S
79 1 3
get_instagram_business_id()
S
79 1 3
get_commerce_merchant_settings_id()
S
79 1 3
get_proxy_url()
S
79 1 3
get_connection_authentication_url()
S
79 1 3
update_business_manager_id()
S
80 1 3
get_app_store_login_url()
S
79 1 3